/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
}

/* 上方图片区域 - 共同样式 */
.header-image {
    height: 380px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* 轮播图容器 */
.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* 轮播图幻灯片 */
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    transition: opacity 1s ease-in-out;
}

.carousel-slide:first-child {
    display: block;
}

/* 轮播图图片 */
.carousel-image {
    position: absolute;
    top: 120px;
    left: 120px;
    width: 635px;
    height: 52px;
    object-fit: cover;
    z-index: 99;
}

.carousel-slide-1 {
    background-image: url('../css/assets/banner1.png');
    background-size: cover;
}

.carousel-slide-2 {
    background-image: url('../css/assets/banner2.png');
    background-size: cover;
}

.carousel-slide-3 {
    background-image: url('../css/assets/banner3.png');
    background-size: cover;
}

.carousel-slide-4 {
    background-image: url('../css/assets/banner4.png');
    background-size: cover;
}

/* 轮播图指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background-color: white;
}

/* 中间菜单区域 - 共同样式 */
.menu-container {
    background-color: #BD1A2D;
    display:flex;
	justify-content: center;
}

.main-menu {
    display: flex;
    list-style: none;
    justify-content:space-between;
    height: 50px;
	width:75%;
}

.menu-item {
    position: relative;
    padding: 0 5%;
    line-height: 50px;
    color: white;
    cursor: pointer;
    font-size: 24px;
    transition: background-color 0.3s;
}

.menu-item:hover {
    background-color: #cc0000;
}

.menu-item.active {
    margin-top: 3px;
    background-color: white;
    color: #BD1A2D;
}

/* 二级菜单样式 */
.submenu {
    display: none;
    position: absolute;
    top: 50px;
    left: 0%;
    transform: translateX(-25%);
    justify-content: center;
    list-style: none;
    min-width: 150px;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 5px 5px;
}

.submenu-item {
    padding: 10px 20px;
    color: #555555;
    cursor: pointer;
    width: max-content;
    font-family: PingFangSC, PingFang SC;
    font-weight: 400;
    font-size: 18px;
    line-height: 33px;
    text-align: right;
    font-style: normal;
    border-bottom: 1px solid #eee;
}

.submenu-item:hover {
    background-color: #f5f5f5;
}

.submenu-item:last-child {
    border-bottom: none;
}

.content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 400px;
    background-image: url("../css/assets/bg-top-red.png"), url("../css/assets/bg-bottom-red.png");
    background-position: left top, right bottom;
    /* 分别控制位置 */
    background-repeat: no-repeat, repeat-x;
    /* 分别控制重复方式 */
    background-size: auto, auto;
}

.content-container .bar {
    width: 100%;
    height: 60px;
    background: rgba(255, 255, 255, 0.4)
}

/* 左侧树形菜单 */
.tree-container {
    width: 250px;
    background-color: #fff;
    padding: 0px;
}

.tree-menu {
    width: 250px;
    list-style: none;
}

.tree-item {
    padding: 10px;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: #555555;
    transition: all 0.3s;
    background-color: #F1F1F1;
}

/* 公众服务节点特殊样式 */
.tree-item[data-tree="public-service"] {
    background-color: #BD1A2D;
    color: white;
}

.tree-item:hover[data-tree="public-service"] {
    background-color: #BD1A2D;
    color: #fff;
}

.tree-item .tree-arrow {
    font-size: 12px;
    color: #555555;
}

.tree-item:hover {
    color: #BD1A2D;
}

.tree-item:hover .tree-arrow {
    color: #BD1A2D;

}

.tree-item.selected {
    color: #BD1A2D;
}

.tree-text {
    flex-grow: 1;
}

.tree-arrow {
    /* 移除动画效果 */
}

/* 下方信息页 - 共同样式 */
.footer-info {
    width: 100%;
    /*height: 200px;*/
    background-color: #BD1A2D;
    color: white;
    padding: 30px 0;
    border-top: 1px solid #ddd;
}

.footer-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    margin: 0px 0 40px 0;
}
/* 分页样式 */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.pagination button {
    width: 32px;
    height: 32px;
    background: #FFFFFF;
    border-radius: 5px;
    border: 1px solid #D9D9D9;
    cursor: pointer;
    color: #7D442E;
    transition: background-color 0.3s;
}

.pagination .page-item {
    display: inline-flex;
    width: 32px;
    height: 32px;
    line-height: 32px;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 5px;
    border: 1px solid #D9D9D9;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    margin-right: 8px;
    transition: background-color 0.3s;
}
.pagination .page-item:hover {
    background-color: #fff;
    color:#D61618;
    border-color:#D61618;
}
.pagination-select {
    width: 70px;
}
.custom-select-search {
    width: 100px;
}

.pagination .slide {
    display: inline-flex;
    width: 32px;
    height: 32px;
    line-height: 32px;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.pagination button:hover {
    background-color: #fff;
    color:#D61618;
    border-color:#D61618;
}

.pagination button:disabled {
    background-color: #f9f9f9;
    cursor: not-allowed;
}

.custom-select {
    position: relative;
    display: inline-block;
}


.custom-select select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}

.custom-select .arrow {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #333;
    pointer-events: none;
}

#page-info {
    font-weight: bold;
}

#page-input {
    width: 80px;
    padding: 7px;
    border: 1px solid #ddd;
    text-align: center;
    border-radius: 5px;
}

#page-size {
    width: 70px;
    height: 32px;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.footer-section {
    display: flex;
    width: 100%;
    justify-content: center;
}

.footer-section p {
    margin-right: 20px;
    font-size: 18px;
}

.footer-section li {
    margin-bottom: 5px;
}

.footer-section a {
    color: white;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-content .shi-icon {
    width: 45px;
    height: 55px;
    position: absolute;
    top: 70px;
    right: 300px;
}

.footer-copyright {
    text-align: center;
    font-size: 14px;
    margin-top: 20px;
}



/**登陆注册*/
.header-image {
   position: relative;

}
.login-register {
    position: absolute;
    top:50px;
    right: 500px;
    color:#fff;
    display:flex;
    align-items: center;
    cursor: pointer;
}


/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 0;
    border: 1px solid #888;
    width: 500px;
    max-width: 90%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.modal-header {
    padding: 20px;
    background-color: #BD1A2D;
    color: white;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 20px;
}

.close-modal {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover {
    color: #f0f0f0;
}

.modal-body {
    padding: 20px;
}

.modal .form-group {
    margin-bottom: 15px;
}

.modal .form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: bold;
}

.modal .form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

.modal .form-group input:focus {
    outline: none;
    border-color: #BD1A2D;
}


.modal .form-group input[type="text"], 
.modal .form-group input[type="tel"],
.modal .form-group input[type="email"],
.modal .form-group input[type="date"],
.modal .form-group input[type="number"],
.modal .form-group select,
.modal .form-group textarea {
    width:100% ;
}

.form-options {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.remember-me,
.agree-terms {
    font-size: 14px;
    color: #666;
}

.forgot-password {
    color: #BD1A2D;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #BD1A2D;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #a01627;
}
#page-info {
    display:flex;
    align-items: center;
}

/* 20251022新增 */
.breadcrumb-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.breadcrumb {
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
}

.breadcrumb-link {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.list-unstyled {
	 display: flex;
    justify-content: center;
    font-weight: 600;
    padding-left: 0;
    list-style: none;
}